
html ,
body {
  position: relative;
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  background: #f0f2f5;
}
/* 常用元素 */
body ,
div ,
p ,
dl ,
dt ,
dd ,
ul ,
ol ,
li ,
h1 ,
h2 ,
h3 ,
h4 ,
h5 ,
h6 ,
form {
  margin: 0;
  padding: 0;
}
img ,
abbr ,
acronym {
  border: none;
}
h1 ,
h2 ,
h3 ,
h4 ,
h5 ,
h6 {
  font-weight: normal;
}

ol ,
ul {
  list-style: none;
}
a {
  text-decoration: none;
  outline: 0;
}
a:hover {
  text-decoration: none;
}
input {
  outline: none;
}
textarea {
  resize: none;
}
.hide ,
.hidden {
  display: none;
}
/* 浮动 */
.fl {
  float: left;
}
.fr {
  float: right;
}
.fn {
  float: none;
}
/* 清除浮动 */
.clear {
  clear: both;
  overflow: hidden;
  height: 0;
}
.clearfix {
  display: block;
  zoom: 1;
}
.clearfix:after {
  font-size: 0;
  display: block;
  visibility: hidden;
  clear: both;
  height: 0;
  content: " ";
}

/* 文字溢出省略 */
.ell ,
.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* 文字对齐方式 */
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
/* table */
table {
  border-spacing: 0;
  border-collapse: collapse;
}
table tr ,
table th ,
table td {
  border-collapse: collapse;
}
/* 去除chrome记住密码输入框背景色为黄色 */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
}
/* 去除input蓝色边框 */
input {
  outline: 0;
}
/* 去除IEinput x */
::-ms-clear ,
::-ms-reveal {
  display: none;
}
.app-body > .ant-spin-spinning {
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .25);
  .ant-spin-dot {
    top: 50%;
  }
}
.app-body ,
.app-body > .layout {
  height: 100%;
}
.layout-right {
  position: relative;
  display: flex;
  height: 100%;
  overflow: auto;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}
.layout-content{
  min-height: 100%;
  .page-content{
    padding-bottom: 40px;
  }
}
.layout-header {
  position: relative;
  z-index: 10;
  height: 64px;
  padding: 0 20px;
  line-height: 64px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,21,41,.08);
  .header-right {
    position: absolute;
    top: 0;
    right: 20px;
  }
  .header-item {
    display: inline-block;
    height: 100%;
    padding: 0 12px;
    cursor: pointer;
  }
  .header-notice span {
    vertical-align: initial;
  }
  .header-notice .header-notice-icon {
    padding: 4px;
    font-size: 16px;
  }
  .avatar {
    margin: 20px 4px 20px 0;
    vertical-align: middle;
    color: #1890ff;
    background: hsla(0,0%,100%,.85);
  }
  &.fixed-header {
    position: fixed;
    right: 0;
  }
}

// 页面路径
.page-breadcrumb {
  padding-left: 20px;
  .ant-breadcrumb {
    height: 40px;
    line-height: 40px;
  }
}
.pages{
  padding-bottom: 50px;
}
.card {
  padding: 20px 20px 60px 20px;
  background: #fff;
}

.layout-footer {
  z-index: 999;
  background: #f1f8fe;
  margin-top: 6px;
  text-align: center;
  line-height: 40px;
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
}
// 页面搜索区域
.page-search {
  .search-buttons {
    button + button {
      margin-left: 10px;
    }
  }
}

.form-inline {
  display: block;
  zoom: 1;
  margin-right: -20px;
  &:after {
    display: block;
    visibility: hidden;
    clear: both;
    height: 0;
    content: " ";
    font-size: 0;
  }
  .ant-form-item {
    position: relative;
    display: inline-block;
    width: 33.3%;
    padding-right: 20px;
    padding-left: 70px;
    .ant-form-item-label {
      position: absolute;
      top: 0;
      left: 0;
    }
    &.search-buttons {
      float: right;
      text-align: right;
    }
  }
  .ant-calendar-picker {
    width: 100%;
  }
}


// 删除弹框
.ant-popover-message {
  min-width: 120px;
}
.ant-popover-buttons {
  .ant-btn-sm {
    font-size: 12px;
  }
}
.ell{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ant-menu-vertical {
  .ant-menu-submenu-title{
    span{
      display: block;
      width: 20px;
      overflow: hidden;
      height: 100%;
    }
  }
}
.menuIcon{
  margin-right: 6px;
}

.ant-input[disabled]{
  color: rgba(0, 0, 0, 0.5);
}
/deep/.ant-input[disabled]{
  color: rgba(0, 0, 0, 0.5);
}
//  pages
.pages{
  margin: 12px;
}

#loading{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  .ant-spin-blur{
    height: 100%;
    opacity: 1;
  }
  .ant-spin-text{
    margin-top: 12px;
  }
}